package com.bootdo.system.dao;

import com.bootdo.system.domain.FileInfoDO;
import com.bootdo.system.domain.FileInfoDO;

import java.util.List;
import java.util.Map;

import com.bootdo.system.domain.FileShareDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-09-25 17:21:53
 */
@Mapper
public interface FileShareDao {

	FileShareDO get(Long id);
	
	List<FileShareDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(FileShareDO fileShareDO);
	
	int update(FileShareDO fileShareDO);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    void addCount(FileShareDO fileShareDO);

	FileShareDO getByUuid(String uuid);

    FileShareDO getDetailByshareLinkMd5(String shareLinkMd5);
}
